package com.core;

import java.lang.annotation.Annotation;

/**
 * @Description TODO
 * @Author 泥地里的蝴蝶
 * @Date 2024/5/10 20:54
 */
public interface IJoinPoint {
    Object[] getArgs();

    <T extends Annotation> T getAnnotation(Class<T> annotationClass);

    default Object invoke() throws Throwable{
        return null;
    }

    default Object invoke(Object[] args) throws Throwable{
        return null;
    }
}
